package cn.iocoder.yudao.module.shop.service.itemconsume;

import cn.iocoder.yudao.module.shop.controller.admin.itemconsume.ShopItemConsumeCreateReqVO;
import cn.iocoder.yudao.module.shop.controller.admin.itemconsume.ShopItemConsumeRespVO;
import cn.iocoder.yudao.module.shop.controller.admin.itemconsume.ShopItemConsumeUpdateReqVO;

import javax.validation.Valid;
import java.util.List;

public interface ShopItemConsumeService {
    List<ShopItemConsumeRespVO> getList(Long itemId);

    List<ShopItemConsumeRespVO> getList(List<Long> itemIds);

    ShopItemConsumeRespVO getByConsumeId(Long consumeId);

    void deleteItem(Long itemId);

    void updateItem(@Valid ShopItemConsumeUpdateReqVO updateReqVO);

    void createItem(@Valid ShopItemConsumeCreateReqVO createReqVO);
}
